Optimal. Leaf size=93 \[ \frac{3 \sqrt{\pi } e^{-a} \text{Erf}\left (\frac{\sqrt{b}}{x}\right )}{16 b^{5/2}}-\frac{3 \sqrt{\pi } e^a \text{Erfi}\left (\frac{\sqrt{b}}{x}\right )}{16 b^{5/2}}+\frac{3 \sinh \left (a+\frac{b}{x^2}\right )}{4 b^2 x}-\frac{\cosh \left (a+\frac{b}{x^2}\right )}{2 b x^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0682972, antiderivative size = 93, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.5, Rules used = {5346, 5324, 5325, 5298, 2204, 2205} \[ \frac{3 \sqrt{\pi } e^{-a} \text{Erf}\left (\frac{\sqrt{b}}{x}\right )}{16 b^{5/2}}-\frac{3 \sqrt{\pi } e^a \text{Erfi}\left (\frac{\sqrt{b}}{x}\right )}{16 b^{5/2}}+\frac{3 \sinh \left (a+\frac{b}{x^2}\right )}{4 b^2 x}-\frac{\cosh \left (a+\frac{b}{x^2}\right )}{2 b x^3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5346
Rule 5324
Rule 5325
Rule 5298
Rule 2204
Rule 2205
Rubi steps
\begin{align*} \int \frac{\sinh \left (a+\frac{b}{x^2}\right )}{x^6} \, dx &=-\operatorname{Subst}\left (\int x^4 \sinh \left (a+b x^2\right ) \, dx,x,\frac{1}{x}\right )\\ &=-\frac{\cosh \left (a+\frac{b}{x^2}\right )}{2 b x^3}+\frac{3 \operatorname{Subst}\left (\int x^2 \cosh \left (a+b x^2\right ) \, dx,x,\frac{1}{x}\right )}{2 b}\\ &=-\frac{\cosh \left (a+\frac{b}{x^2}\right )}{2 b x^3}+\frac{3 \sinh \left (a+\frac{b}{x^2}\right )}{4 b^2 x}-\frac{3 \operatorname{Subst}\left (\int \sinh \left (a+b x^2\right ) \, dx,x,\frac{1}{x}\right )}{4 b^2}\\ &=-\frac{\cosh \left (a+\frac{b}{x^2}\right )}{2 b x^3}+\frac{3 \sinh \left (a+\frac{b}{x^2}\right )}{4 b^2 x}+\frac{3 \operatorname{Subst}\left (\int e^{-a-b x^2} \, dx,x,\frac{1}{x}\right )}{8 b^2}-\frac{3 \operatorname{Subst}\left (\int e^{a+b x^2} \, dx,x,\frac{1}{x}\right )}{8 b^2}\\ &=-\frac{\cosh \left (a+\frac{b}{x^2}\right )}{2 b x^3}+\frac{3 e^{-a} \sqrt{\pi } \text{erf}\left (\frac{\sqrt{b}}{x}\right )}{16 b^{5/2}}-\frac{3 e^a \sqrt{\pi } \text{erfi}\left (\frac{\sqrt{b}}{x}\right )}{16 b^{5/2}}+\frac{3 \sinh \left (a+\frac{b}{x^2}\right )}{4 b^2 x}\\ \end{align*}
Mathematica [A] time = 0.124699, size = 97, normalized size = 1.04 \[ \frac{3 \sqrt{\pi } x^3 (\cosh (a)-\sinh (a)) \text{Erf}\left (\frac{\sqrt{b}}{x}\right )-3 \sqrt{\pi } x^3 (\sinh (a)+\cosh (a)) \text{Erfi}\left (\frac{\sqrt{b}}{x}\right )+4 \sqrt{b} \left (3 x^2 \sinh \left (a+\frac{b}{x^2}\right )-2 b \cosh \left (a+\frac{b}{x^2}\right )\right )}{16 b^{5/2} x^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.043, size = 117, normalized size = 1.3 \begin{align*} -{\frac{{{\rm e}^{-a}}}{4\,b{x}^{3}}{{\rm e}^{-{\frac{b}{{x}^{2}}}}}}-{\frac{3\,{{\rm e}^{-a}}}{8\,{b}^{2}x}{{\rm e}^{-{\frac{b}{{x}^{2}}}}}}+{\frac{3\,{{\rm e}^{-a}}\sqrt{\pi }}{16}{\it Erf} \left ({\frac{1}{x}\sqrt{b}} \right ){b}^{-{\frac{5}{2}}}}-{\frac{{{\rm e}^{a}}}{4\,b{x}^{3}}{{\rm e}^{{\frac{b}{{x}^{2}}}}}}+{\frac{3\,{{\rm e}^{a}}}{8\,{b}^{2}x}{{\rm e}^{{\frac{b}{{x}^{2}}}}}}-{\frac{3\,{{\rm e}^{a}}\sqrt{\pi }}{16\,{b}^{2}}{\it Erf} \left ({\frac{1}{x}\sqrt{-b}} \right ){\frac{1}{\sqrt{-b}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.27342, size = 84, normalized size = 0.9 \begin{align*} -\frac{1}{10} \, b{\left (\frac{e^{\left (-a\right )} \Gamma \left (\frac{7}{2}, \frac{b}{x^{2}}\right )}{x^{7} \left (\frac{b}{x^{2}}\right )^{\frac{7}{2}}} + \frac{e^{a} \Gamma \left (\frac{7}{2}, -\frac{b}{x^{2}}\right )}{x^{7} \left (-\frac{b}{x^{2}}\right )^{\frac{7}{2}}}\right )} - \frac{\sinh \left (a + \frac{b}{x^{2}}\right )}{5 \, x^{5}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.86788, size = 768, normalized size = 8.26 \begin{align*} -\frac{6 \, b x^{2} - 2 \,{\left (3 \, b x^{2} - 2 \, b^{2}\right )} \cosh \left (\frac{a x^{2} + b}{x^{2}}\right )^{2} - 3 \, \sqrt{\pi }{\left (x^{3} \cosh \left (a\right ) \cosh \left (\frac{a x^{2} + b}{x^{2}}\right ) + x^{3} \cosh \left (\frac{a x^{2} + b}{x^{2}}\right ) \sinh \left (a\right ) +{\left (x^{3} \cosh \left (a\right ) + x^{3} \sinh \left (a\right )\right )} \sinh \left (\frac{a x^{2} + b}{x^{2}}\right )\right )} \sqrt{-b} \operatorname{erf}\left (\frac{\sqrt{-b}}{x}\right ) - 3 \, \sqrt{\pi }{\left (x^{3} \cosh \left (a\right ) \cosh \left (\frac{a x^{2} + b}{x^{2}}\right ) - x^{3} \cosh \left (\frac{a x^{2} + b}{x^{2}}\right ) \sinh \left (a\right ) +{\left (x^{3} \cosh \left (a\right ) - x^{3} \sinh \left (a\right )\right )} \sinh \left (\frac{a x^{2} + b}{x^{2}}\right )\right )} \sqrt{b} \operatorname{erf}\left (\frac{\sqrt{b}}{x}\right ) - 4 \,{\left (3 \, b x^{2} - 2 \, b^{2}\right )} \cosh \left (\frac{a x^{2} + b}{x^{2}}\right ) \sinh \left (\frac{a x^{2} + b}{x^{2}}\right ) - 2 \,{\left (3 \, b x^{2} - 2 \, b^{2}\right )} \sinh \left (\frac{a x^{2} + b}{x^{2}}\right )^{2} + 4 \, b^{2}}{16 \,{\left (b^{3} x^{3} \cosh \left (\frac{a x^{2} + b}{x^{2}}\right ) + b^{3} x^{3} \sinh \left (\frac{a x^{2} + b}{x^{2}}\right )\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sinh{\left (a + \frac{b}{x^{2}} \right )}}{x^{6}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sinh \left (a + \frac{b}{x^{2}}\right )}{x^{6}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]